<?php
// 微信相关配置
return [
    // 微信公众号配置
    'official_account' => [
        'app_id' => env('WECHAT_OFFICIAL_ACCOUNT_APP_ID', ''),
        'secret' => env('WECHAT_OFFICIAL_ACCOUNT_SECRET', ''),
        'token' => env('WECHAT_OFFICIAL_ACCOUNT_TOKEN', ''),
        'aes_key' => env('WECHAT_OFFICIAL_ACCOUNT_AES_KEY', ''),
        'response_type' => 'array',
        'log' => [
            'level' => 'debug',
            'file' => runtime_path() . 'wechat.log',
        ],
        'http' => [
            'throw' => true,
            'timeout' => 5.0,
        ],
    ],
    
    // 微信开放平台配置
    'open_platform' => [
        'app_id' => env('WECHAT_OPEN_PLATFORM_APP_ID', ''),
        'secret' => env('WECHAT_OPEN_PLATFORM_SECRET', ''),
        'token' => env('WECHAT_OPEN_PLATFORM_TOKEN', ''),
        'aes_key' => env('WECHAT_OPEN_PLATFORM_AES_KEY', ''),
    ],
    
    // 微信支付配置
    'payment' => [
        'app_id' => env('WECHAT_PAYMENT_APP_ID', ''),
        'mch_id' => env('WECHAT_PAYMENT_MCH_ID', ''),
        'key' => env('WECHAT_PAYMENT_KEY', ''),
        'cert_path' => env('WECHAT_PAYMENT_CERT_PATH', ''),
        'key_path' => env('WECHAT_PAYMENT_KEY_PATH', ''),
        'notify_url' => env('WECHAT_PAYMENT_NOTIFY_URL', ''),
    ],
];